﻿<UserControl x:Class="Islamic_influence_in_Venetian_cuture.View.UserControls.DirectionUserControl"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:converters="clr-namespace:Utils.WP7.Bing;assembly=Utils.WP7.Bing"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480">

    <!--<converters:ItineraryItemDisplayConverter x:Key="itineraryConverter"-->
    
    <UserControl.Resources>
        <ResourceDictionary>
            <ResourceDictionary.MergedDictionaries>
                <ResourceDictionary Source="/Utils.WP7.Bing;component/Resources/Bing.xaml"/>
            </ResourceDictionary.MergedDictionaries>
        </ResourceDictionary>
        <converters:ItineraryItemDisplayConverter x:Key="itineraryConverter"/>
    </UserControl.Resources>

    <Grid x:Name="LayoutRoot" Background="#90202020">
        <ListBox ItemsSource="{Binding Itinerary, Converter={StaticResource itineraryConverter}}" 
                Grid.RowSpan="2" ItemTemplate="{StaticResource ItineraryItemComplete}" />
    </Grid>
</UserControl>
